package com.hig.risk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全生产隐患排查治理清单对象 risk_hazard_investigation
 * 
 * @author scp
 * @date 2024-09-29
 */
@ApiModel(description = "隐患实体")
public class RiskHazardInvestigation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(value = "主键ID",hidden = true)
    private Long id;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "时间")
    private Date investigationTime;

    /** 隐患类型 */
    @Excel(name = "隐患类型",dictType = "dangers_type")
    @ApiModelProperty(value = "隐患类型 字典：dangers_type")
    private String dangersType;

    /** 隐患等级 */
    @Excel(name = "隐患等级",dictType = "dangers_grade")
    @ApiModelProperty(value = "隐患等级 字典：dangers_grade")
    private String dangersGrade;

    /** 主体单位 */
    @Excel(name = "主体单位")
    @ApiModelProperty(value = "主体单位")
    private String mainUnit;

    /** 隐患来源 */
    @Excel(name = "隐患来源")
    @ApiModelProperty(value = "隐患来源")
    private String dangersSource;

    /** 隐患内容 */
    @Excel(name = "隐患内容")
    @ApiModelProperty(value = "隐患内容")
    private String dangersContent;

    /** 涉及业务 */
    @Excel(name = "涉及业务",dictType = "involving_business")
    @ApiModelProperty(value = "涉及业务 字典：involving_business")
    private String involvingBusiness;

    /** 监管单位(人员) */
    @Excel(name = "监管单位(人员)",dictType = "regulatory_authorities")
    @ApiModelProperty(value = "监管单位(人员) 字典：regulatory_authorities")
    private String regulatoryAuthorities;

    /** 整改责任人 */
    @Excel(name = "整改责任人  获取人员列表 /exam-online-api/system/user/listNoPage")
    @ApiModelProperty(value = "整改责任人")
    private String personLiable;

    /** 治理措施(方案) */
    @Excel(name = "治理措施(方案)")
    @ApiModelProperty(value = "治理措施(方案)")
    private String governanceMeasures;

    /** 等效措施(管控措施) */
    @Excel(name = "等效措施(管控措施)")
    @ApiModelProperty(value = "等效措施(管控措施)")
    private String equivalentMeasures;

    /** 治理时限 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "治理时限", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "治理时限")
    private Date governanceDeadline;

    /** 治理进度 */
    @Excel(name = "治理进度",dictType = "governance_progress")
    @ApiModelProperty(value = "治理进度")
    private String governanceProgress;

    /** 治理效果(验收标准) */
    @Excel(name = "治理效果(验收标准)")
    @ApiModelProperty(value = "治理效果(验收标准)")
    private String governanceEffectiveness;

    /** 原因分析 */
    @Excel(name = "原因分析")
    @ApiModelProperty(value = "原因分析")
    private String causeAnalysis;

    /** 整改图片 */
    @Excel(name = "整改图片", width = 10, height = 50, cellType = Excel.ColumnType.IMAGE)
    @ApiModelProperty(value = "整改图片")
    private String picture;

    /** 备用 */
//    @Excel(name = "备用")
    private String remarkSpare;

    /** 备用1 */
//    @Excel(name = "备用1")
    private String remarkSpare1;

    /** 备用2 */
//    @Excel(name = "备用2")
    private String remarkSpare2;

    /** 部门ID */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInvestigationTime(Date investigationTime) 
    {
        this.investigationTime = investigationTime;
    }

    public Date getInvestigationTime() 
    {
        return investigationTime;
    }
    public void setDangersType(String dangersType) 
    {
        this.dangersType = dangersType;
    }

    public String getDangersType() 
    {
        return dangersType;
    }
    public void setDangersGrade(String dangersGrade) 
    {
        this.dangersGrade = dangersGrade;
    }

    public String getDangersGrade() 
    {
        return dangersGrade;
    }
    public void setMainUnit(String mainUnit) 
    {
        this.mainUnit = mainUnit;
    }

    public String getMainUnit() 
    {
        return mainUnit;
    }
    public void setDangersSource(String dangersSource) 
    {
        this.dangersSource = dangersSource;
    }

    public String getDangersSource() 
    {
        return dangersSource;
    }
    public void setDangersContent(String dangersContent) 
    {
        this.dangersContent = dangersContent;
    }

    public String getDangersContent() 
    {
        return dangersContent;
    }
    public void setInvolvingBusiness(String involvingBusiness) 
    {
        this.involvingBusiness = involvingBusiness;
    }

    public String getInvolvingBusiness() 
    {
        return involvingBusiness;
    }
    public void setRegulatoryAuthorities(String regulatoryAuthorities) 
    {
        this.regulatoryAuthorities = regulatoryAuthorities;
    }

    public String getRegulatoryAuthorities() 
    {
        return regulatoryAuthorities;
    }
    public void setPersonLiable(String personLiable) 
    {
        this.personLiable = personLiable;
    }

    public String getPersonLiable() 
    {
        return personLiable;
    }
    public void setGovernanceMeasures(String governanceMeasures) 
    {
        this.governanceMeasures = governanceMeasures;
    }

    public String getGovernanceMeasures() 
    {
        return governanceMeasures;
    }
    public void setEquivalentMeasures(String equivalentMeasures) 
    {
        this.equivalentMeasures = equivalentMeasures;
    }

    public String getEquivalentMeasures() 
    {
        return equivalentMeasures;
    }
    public void setGovernanceDeadline(Date governanceDeadline) 
    {
        this.governanceDeadline = governanceDeadline;
    }

    public Date getGovernanceDeadline() 
    {
        return governanceDeadline;
    }
    public void setGovernanceProgress(String governanceProgress) 
    {
        this.governanceProgress = governanceProgress;
    }

    public String getGovernanceProgress() 
    {
        return governanceProgress;
    }
    public void setGovernanceEffectiveness(String governanceEffectiveness) 
    {
        this.governanceEffectiveness = governanceEffectiveness;
    }

    public String getGovernanceEffectiveness() 
    {
        return governanceEffectiveness;
    }
    public void setCauseAnalysis(String causeAnalysis) 
    {
        this.causeAnalysis = causeAnalysis;
    }

    public String getCauseAnalysis() 
    {
        return causeAnalysis;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("investigationTime", getInvestigationTime())
            .append("dangersType", getDangersType())
            .append("dangersGrade", getDangersGrade())
            .append("mainUnit", getMainUnit())
            .append("dangersSource", getDangersSource())
            .append("dangersContent", getDangersContent())
            .append("involvingBusiness", getInvolvingBusiness())
            .append("regulatoryAuthorities", getRegulatoryAuthorities())
            .append("personLiable", getPersonLiable())
            .append("governanceMeasures", getGovernanceMeasures())
            .append("equivalentMeasures", getEquivalentMeasures())
            .append("governanceDeadline", getGovernanceDeadline())
            .append("governanceProgress", getGovernanceProgress())
            .append("governanceEffectiveness", getGovernanceEffectiveness())
            .append("causeAnalysis", getCauseAnalysis())
            .append("remark", getRemark())
            .append("picture", getPicture())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
